-- GENERATED SPELL FOR [Moontouched Owlbeast] --


function spell0_7453(pUnit, Event) --@Moonfire,n/a--
pUnit:FullCastSpellOnTarget(15798,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7453', 12000, 1)
end

function spell1_7453(pUnit, Event) --@Rejuvenation,Heal--
pUnit:FullCastSpellOnTarget(12160,pUnit)
pUnit:RegisterEvent('Sorts_7453', 12000, 1)
end

function Sorts_7453(pUnit, Event)
local choix_sorts_7453 = math.random(0, 1)
if choix_sorts_7453 == 0 then
pUnit:RegisterEvent('spell0_7453', 1, 1)
end
if choix_sorts_7453 == 1 then
pUnit:RegisterEvent('spell1_7453', 1, 1)
end
end

function mob7453_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7453', math.random(1500, 3000), 1)
end

function mob7453_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7453_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7453_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7453, 1, 'mob7453_Action')
RegisterUnitEvent(7453, 2, 'mob7453_Leave')
RegisterUnitEvent(7453, 3, 'mob7453_Kill')
RegisterUnitEvent(7453, 4, 'mob7453_Die')
